package com.example.demo;

import com.fasterxml.jackson.databind.ObjectMapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Bean;

/**
 * 功能描述：
 *
 * @Author: Zhanghf
 * @Date: 2021/12/12 20:50
 */
@SpringBootApplication
@EnableCaching
@MapperScan(basePackages ="com.example.demo.dao")
@EnableFeignClients
public class PortalMain8080 {

        public static void main(String[] args) {
            SpringApplication.run(PortalMain8080.class, args);
        }
@Bean
    public ObjectMapper objectMapper()
{
    return new ObjectMapper();
}


}
